package net.jeeshop.services.common;

import net.jeeshop.core.dao.page.PagerModel;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author Jerry.hu
 * @summary
 * @Copyright (c) 2016, Lianjia Group All Rights Reserved.
 * @Description To change this template use File | Settings | File Templates.
 * @since 2016-08-25 15:59
 */
public class Store extends PagerModel implements Serializable {
    private static final long serialVersionUID = 3087220280926887384L;
    private String id;
    private String name;
    private String telPhone;
    private String address;
    private Double longitude;
    private Double latitude;
    private Date ctime;

    @Override
    public void clear () {
        super.clear();

        id = null;
        name = null;
        telPhone = null;
        address = null;
        longitude = null;
        latitude = null;
        ctime = null;
    }

    public String getId () {
        return this.id;
    }

    public void setId (String id) {
        this.id = id;
    }

    public String getName () {
        return this.name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public String getTelPhone () {
        return this.telPhone;
    }

    public void setTelPhone (String telPhone) {
        this.telPhone = telPhone;
    }

    public String getAddress () {
        return this.address;
    }

    public void setAddress (String address) {
        this.address = address;
    }

    public Double getLongitude () {
        return this.longitude;
    }

    public void setLongitude (Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude () {
        return this.latitude;
    }

    public void setLatitude (Double latitude) {
        this.latitude = latitude;
    }

    public Date getCtime () {
        return this.ctime;
    }

    public void setCtime (Date ctime) {
        this.ctime = ctime;
    }

    @Override
    public String toString () {
        final StringBuffer sb = new StringBuffer("Store{");
        sb.append("id='").append(id).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", telPhone='").append(telPhone).append('\'');
        sb.append(", address='").append(address).append('\'');
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append(", ctime=").append(ctime);
        sb.append('}');
        return sb.toString();
    }
}
